//
//  myTableViewCell.m
//  testTableView
//
//  Created by BigAmazing on 16/5/14.
//  Copyright © 2016年 clin. All rights reserved.
//

#import "myTableViewCell.h"

@implementation myTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
                _nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 150, 50)];
       
                [_nameLabel setBackgroundColor:[UIColor clearColor]];
                [_nameLabel setTextColor:[UIColor grayColor]];
                _nameLabel.font = [UIFont fontWithName:@"ArialMT" size:13];
                [_nameLabel setTextAlignment:NSTextAlignmentCenter];
                [self.contentView addSubview:_nameLabel];
        
    
        _numLabel = [[UILabel alloc]initWithFrame:CGRectMake(150, 0, 150, 50)];
        [_numLabel setBackgroundColor:[UIColor clearColor]];
        [_numLabel setTextColor:[UIColor grayColor]];
        _numLabel.font = [UIFont fontWithName:@"ArialMT" size:13];
        [_numLabel setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_numLabel];
        

        _moneyLabel = [[UILabel alloc]initWithFrame:CGRectMake(300, 0, 150, 50)];
        [_moneyLabel setBackgroundColor:[UIColor clearColor]];
        [_moneyLabel setTextColor:[UIColor grayColor]];
        _moneyLabel.font = [UIFont fontWithName:@"ArialMT" size:13];
        [_moneyLabel setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_moneyLabel];
        

        
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
